//
//  PersonSelectTableViewCell.h
//  MobileOffice
//
//  Created by jjkj on 16/12/9.
//  Copyright © 2016年 liaoningjujin. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ManageStrutureModel.h"

typedef void (^addParentManageBlock) (ManageStrutureModel *model);
typedef void (^deleteParentManageBlock) (ManageStrutureModel *model);
typedef void (^addPersonBlock) (ManageStrutureModel *model);
typedef void (^deletePersonBlock) (ManageStrutureModel *model);
@interface PersonSelectTableViewCell : UITableViewCell

@property (nonatomic,strong) UILabel *myTitle;    //主题
@property (nonatomic,strong) UILabel *lineLabel;
@property (nonatomic,strong) NSIndexPath *indexPath;
@property (nonatomic,strong) NSMutableArray *buttonArr;
@property (nonatomic,strong) ManageStrutureModel *model;
@property (nonatomic,strong) addParentManageBlock addBlock;
@property (nonatomic,strong) deleteParentManageBlock deleteBlock;
@property (nonatomic,strong) addPersonBlock addPersonBlock;
@property (nonatomic,strong) deletePersonBlock deletePersonBlock;
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier indexPath:(NSIndexPath *)indexPath model:(ManageStrutureModel *)model;
- (void)setCellWithManageModel:(ManageStrutureModel *)model indexPath:(NSIndexPath *)indexPath;
@end
